package test.serializableTest;

import java.io.Serializable;

/** 
 * Created on 2011-3-11 
 * @author shixing_11@sina.com 
 * @version        1.0 
 */  
public class Student extends Person implements Serializable {  
    public Student(String name, int age){  
        super(name, age);  
    }  
    private static final long serialVersionUID = 1L;  
      
    public static String S_T = "static属性不能被序列化";    
      
    private int no;  
      
    private String schoolName;  
      
    public void setSchoolName(String schoolName){  
        this.schoolName = schoolName;  
    }  
      
    public String getSchoolName(){  
        return schoolName;  
    }  
      
    public void setNo(int no){  
        this.no = no;  
    }  
      
    public int getNo(){  
        return no;  
    }  
}  
